package com.haitaoit.chengquan.module.login.enterprise;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.haitaoit.chengquan.R;
import com.haitaoit.chengquan.base.BaseActivity;
import com.haitaoit.chengquan.main.MianButtonActivity;
import com.haitaoit.chengquan.utils.PreferenceUtils;
import com.lidroid.xutils.ViewUtils;
import com.lidroid.xutils.view.annotation.event.OnClick;

public class RegistEnterSuccessActivity extends BaseActivity {
    private String b;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_regist_success);
        ViewUtils.inject(this);
        backLeft_V();
        b= PreferenceUtils.getPrefString("account_type", "");
    }

    @OnClick({R.id.left, R.id.next_go3})
    public void onClick(View v) {
        Intent intent = new Intent();
        switch (v.getId()) {
            case R.id.left:
                finish();
                break;
            case R.id.next_go3:

                intent.setClass(this, MianButtonActivity.class);
                intent.putExtra("index", 0);
                startActivity(intent);
                finish();
                break;
        }
    }
}
